home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 July: Mac OS SDK / Dev.CD Jul 96 SDK / Dev.CD Jul 96 SDK1.toast / Development Kits (Disc 1) / OpenDoc Development Framework / Developer University / DUProjects / Sample / Sources / SOMPart.cpp < prev    next >
Encoding:
Text File  |  1996-02-15  |  1.1 KB  |  45 lines  |  [TEXT/CWIE]

  1. //========================================================================================
  2. //
  3. //    File:                SOMPart.cpp
  4. //    Release Version:    $ ODF 1 $
  5. //
  6. //    Copyright:    © 1993-1996 by Apple Computer, Inc., all rights reserved.
  7. //
  8. //========================================================================================
  9.  
  10. // Note: SampleDef.h must be included before FWSOMPrt.h
  11. #ifdef SYMANTEC_CPLUS
  12. #define PRAGMA_IMPORT_SUPPORTED 1 
  13. #endif 
  14.  
  15. // Note: Defines.k must be included before FWSOMPrt.h
  16. #ifndef DEFINES_K
  17. #include "Defines.k"
  18. #endif
  19.  
  20. #ifndef FWSOMPRT_H
  21. #include "FWSOMPrt.h"
  22. #endif
  23.  
  24. #ifndef PART_H
  25. #include "Part.h"
  26. #endif
  27.  
  28. //========================================================================================
  29. //
  30. //========================================================================================
  31.  
  32. #ifdef SYMANTEC_CPLUS
  33. #define SOMInit main 
  34. #endif 
  35.  
  36. #ifdef FW_BUILD_MAC
  37. #pragma segment sample
  38. #endif
  39.  
  40. //========================================================================================
  41. //
  42. //========================================================================================
  43.  
  44. FW_SOMPART(DevUniv, Sample, CSamplePart)
  45.